package com.jhd.fuzhou.service;


import com.jhd.fuzhou.vo.JsonForResult;

import java.util.List;
import java.util.Map;

import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.QueryMap;

public interface AlarmService {
    //文档管理列表
    @POST("monitor/alarmData/getAlarmDataPage")
    Call<JsonForResult> getAlarmDataPage(@Header("Authorization") String token, @Body RequestBody requestBody);

    //获取折线图列表，equipmentType=04&sn=000010&type=1    &monitorItem=17 PH，15 余戮 ，16 浊度，18 温度
    @GET("monitor/online/getEchartsData")
    Call<JsonForResult> getEchartsData(@Header("Authorization") String token,@QueryMap Map<String, Object> params);
    //查询通用预警模型,equipmentType
    @GET("monitor/alarmModel/getCommonParamLimitList")
    Call<JsonForResult> getCommonParamLimitList(@Header("Authorization") String token,@QueryMap Map<String, String> params);
    @POST("monitor/screen/getRealData")
    Call<JsonForResult> getRealData(@Header("Authorization") String token, @Body RequestBody requestBody);

}
